import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SChatMoniterOper
    
    export  class SChatMoniterOper extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SChatMoniterOper();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.playerId);
            arg1.writeInt(this.serverId);
            arg1.writeInt(this.operType);
            arg1.writeInt(this.oper);
            arg1.writeString(this.content);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.playerId = arg1.readInt();
            this.serverId = arg1.readInt();
            this.operType = arg1.readInt();
            this.oper = arg1.readInt();
            this.content = arg1.readString();
            return;
        }

        public /* const */_type: int=12066;

        public /* var */playerId: int;

        public /* var */serverId: int;

        public /* var */operType: int;

        public /* var */oper: int;

        public /* var */content: string;

        public static /* var */_regist: SChatMoniterOper;
    }

            SChatMoniterOper._regist = new SChatMoniterOper(true);
        